<?php
/**
 * Created by PhpStorm.
 * User: 1
 * Date: 2017-03-17
 * Time: 15:38
 */

namespace app\src\sunsun;

use GatewayClient\Gateway;

require_once __DIR__ . '/../../../itboye_sunsun_tcp/workerman/vendor/autoload.php';

//设置register服务地址
Gateway::$registerAddress = "118.190.45.77:1238";

class BaseSunsunAction
{
    protected function sendToClient($did,$msg){
        Gateway::sendToUid($did,$msg);
    }
}